package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class ClaimItem {

    private Long id;
    //车牌号
    private String carnumber;
    //报案地址
    private String site;
    //事故详情
    private String particulars;
    //事故责任
    private Integer duty;
    //备注
    private String remark;
    //状态
    private Boolean state;
    //到场人员对象
    private Employee employee;
    //报案表对象
    private Claim claim;
    //处理时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date disposeTime;

}